﻿@{
    ViewBag.Title = "In địa bàn hộ dân cư";
    string strMaDiaBanPrint = Request["strMaDiaBanPrint"];
    string soho = Request["Strsoho"];
}
@*<script>
    @functions{
    public string GetAntiForgeryToken()
    {
        string cookieToken, formToken;
        AntiForgery.GetTokens(null, out cookieToken, out formToken);
        return cookieToken + "," + formToken;
    }
}
</script>*@
<div style="border:1px solid #000000; padding:1px; overflow:hidden;">
    <div style="position: absolute; z-index: 99999; max-width:500px; overflow:hidden; border-right: 1px dashed #808080; border-bottom: 1px dashed #808080; background-color: #ffffff; padding: 5px; font-size: 10pt; text-align: center;">
        <div id="TenDB" style="text-transform:uppercase; font-weight:bold;"></div>
        <div id="unitName" style=""></div>
        <div id="soHo" style=""></div>
    </div>
    <center>
        <iframe id="frmPrint" src='@Url.Action("getPrint2", "Area")?strMaDiaBanPrint=@strMaDiaBanPrint&Strsoho=@soho' style="width:1300px; height:200px;" frameborder="0" scrolling="no"></iframe>
    </center>
</div>
@Scripts.Render("~/Scripts/ext/jquery-1.11.1.min.js")
<script type="text/javascript">
    var getContentMap = function () {
        var data = parent.getContentMap();
        $('#frmPrint').width(data.width);
        $('#frmPrint').height(Math.round(data.width * 0.67));
        return data;
    }
</script>